Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next
Subject: Getting error message in Agent on Domino Server: Cannot create automation object
Feedback Type: Problem
Product Area: Domino Server
Technical Area: Application Development
Platform: Windows
Release: 8.5.3
Reproducible: Always

Hi,

this is the full error message.

[0BA0:0002-0BF0] 13.01.2015 11:14:41 AMgr: Agent ('TestIncomingMail Test' in 'mail\administ.nsf') error message: Cannot create automation object

All i did is creating a little com-dll that is called in the agent, after a mail arrives.

This is my Code in the Agent:

Dim obj As Variant
MsgBox "Test1"
Set obj = CreateObject("MyComDll.Interface") MsgBox "Test2"
Call obj.ConnectionTest()

If i do this from an Action in Notes directly (on the server), everything works fine. I also wrote a test program to try if i can use this dll on the server. Everything is working fine. But if i do this in an Agent, i get the error message above.

Really have no idea what to do. Already restarted the server and gave the agent maximum permissions.

Does someone have an idea what i'm doing wrong? Or is it just not allowed to use CreateObject from an Agent running on the server?

Thanks in Advance. :)

EDIT: I've also found this link:
http://www-01.ibm.com/support/docview.wss?uid=swg21088529

But if i do this and just start the Agent from another agent the same thing is happening.

EDIT2: If i call another com object, like MSXML2.DOMDocument at the same position it is working fine. It just don't likes this DLL. Must the DLL located at a special position? I put it in the domino directory but this also does not work.

EDIT3: I placed the DLL in c:\domino, in c:\domino\data\, in c:\domino\data\mail, in "c:\windows\microsoft.net\framework\v4..." and some other locations. Still does not want to run. I also tried to remove all UI components, like messageboxes. Still no success.


Feedback number WEBB9SQE6L created by ~Miriam Dwofreeverikle on 01/13/2015

Status: Open
Comments:

Getting error message in Agent on D... (~Miriam Dwofree... 13.Jan.15)
. . Thoughts (~Fred Asatumibu... 13.Jan.15)
. . . . Re: Thoughts (~Miriam Dwofree... 13.Jan.15)
. . . . . . Hmmm (~Fred Asatumibu... 14.Jan.15)
. . . . . . . . Probably another problem (~Miriam Dwofree... 14.Jan.15)
. . . . . . .NET Problem? (~Miriam Dwofree... 14.Jan.15)
. . . . ...n.t. (~Miriam Dwofree... 13.Jan.15)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS